import { ScriptRunner } from "@sapi-game/Runner/scriptRunner";
import { WereWolfPhaseView } from "@/werewolf/phaseView";
import { ClassicViewTools } from "./func";

export class BeforeMorningClassicView extends WereWolfPhaseView {
    override async runPhaseView(r: ScriptRunner): Promise<void> {
        await r.wait(20);
        this.context.players.playSound("note.flute");
        this.context.players.title("§5§l女巫请闭眼");
        ClassicViewTools.resetStructure();
        await r.wait(70);
        this.context.players.title("§6§l夜晚渐渐的过去了...");
    }
}
